import request from "@/utils/request";

export function generateBillStatement(data){
    return request({
        url:'/statement/billStatement/generateBillStatement',
        method:'post',
        data:data
    })
}


export function selectBillStatementList(query){
    return request({
        url:'/statement/billStatement/selectBillStatementList',
        method:'get',
        params:query
    })
}

//取消对账单
export function cancelBillStatement(data){
    return request({
        url:'/statement/billStatement/cancelBillStatement',
        method:'post',
        data:data
    })
}

//确认对账
export function confirmBillStatement(data){
    return request({
        url:'/statement/billStatement/confirmBillStatement',
        method:'post',
        data:data
    })
}


//确认收款
export function confirmBillCollection(data){
    return request({
        url:'/statement/billStatement/confirmBillCollection',
        method:'post',
        data:data
    })
}